package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 户口迁移对象 population_qianyi
 * 
 * @author ruoyi
 * @date 2024-10-15
 */
public class PopulationQianyi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private Long populationId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 原因 */
    @Excel(name = "原因")
    private String changereson;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPopulationId(Long populationId) 
    {
        this.populationId = populationId;
    }

    public Long getPopulationId() 
    {
        return populationId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setChangereson(String changereson) 
    {
        this.changereson = changereson;
    }

    public String getChangereson() 
    {
        return changereson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("populationId", getPopulationId())
            .append("type", getType())
            .append("changereson", getChangereson())
            .append("createTime", getCreateTime())
            .toString();
    }
}
